|
Foxit PDF SDK
|
继承自 FoxitPDFSDKPython2._object .
Public 成员函数 | |
| def | PrintDeviceSettingData () |
| 构造函数并设置默认值。 更多... | |
| def | Set (device_width, device_height, device_margin, orientation, resolution, copies) |
| 设置值。 更多... | |
静态 Public 属性 | |
| copies = _fsdk.PrintDeviceSettingData_copies | |
| 要打印的份数。此参数仅对PostScript文件有效。 | |
| device_height = _fsdk.PrintDeviceSettingData_device_height | |
| 设备的高度(以像素为单位)。 | |
| device_margin = _fsdk.PrintDeviceSettingData_device_margin | |
| 设备的页边距。 更多... | |
| device_width = _fsdk.PrintDeviceSettingData_device_width | |
| 设备的宽度(以像素为单位)。 | |
| e_Landscape = _fsdk.PrintDeviceSettingData_e_Landscape | |
| 打印的横向方向。 | |
| e_Portrait = _fsdk.PrintDeviceSettingData_e_Portrait | |
| 打印的纵向方向。 | |
| orientation = _fsdk.PrintDeviceSettingData_orientation | |
| 方向标志。请参考从 开始的值, 这应该是其中的一个值。 | |
| resolution = _fsdk.PrintDeviceSettingData_resolution | |
| 设备的分辨率,以每英寸像素数为单位。 | |
| def FoxitPDFSDKPython2.PrintDeviceSettingData.PrintDeviceSettingData | ( | ) |
构造函数并设置默认值。
带参数的构造函数。
带另一个打印设备设置数据对象的构造函数。
默认情况下,A4纸的像素值设置为300 dpi(每英寸点数)。
| [in] | settings | 另一个打印设备设置对象。 |
| [in] | device_width | 设备的宽度(以像素为单位)。 |
| [in] | device_height | 设备的高度(以像素为单位)。 |
| [in] | device_margin | 设备的页边距。它不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。 |
| [in] | orientation | 方向标志。请参考从 开始的值, 这应该是其中的一个值。 |
| [in] | resolution | 设备的分辨率,以每英寸像素数为单位。 |
| [in] | copies | 要打印的份数。此参数仅对PostScript文件有效。 |
| def FoxitPDFSDKPython2.PrintDeviceSettingData.Set | ( | device_width, | |
| device_height, | |||
| device_margin, | |||
| orientation, | |||
| resolution, | |||
| copies | |||
| ) |
设置值。
| [in] | device_width | 设备的宽度(以像素为单位)。 |
| [in] | device_height | 设备的高度(以像素为单位)。 |
| [in] | device_margin | 设备的页边距。它不表示矩形。它只定义设备的左边距、下边距、 右边距和上边距。 |
| [in] | orientation | 方向标志。请参考从 开始的值, 这应该是其中的一个值。 |
| [in] | resolution | 设备的分辨率,以每英寸像素数为单位。 |
| [in] | copies | 要打印的份数。此参数仅对PostScript文件有效。 |
|
static |
设备的页边距。